from django.urls import path
from . import views

urlpatterns = [
    path('teachers/', views.TeacherViewSet.as_view({"get": "list"})),
    path('teachers/<int:pk>/', views.TeacherViewSet.as_view({"get": "retrieve", "patch": "update"})),
]
